package com.aidex.risk.domain;

import com.aidex.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

@Data
public class tradeGoodsRiskDetial {
    private String tradeName;
    private String tradeNameKey;
    private String tradeType;
    private String tradeRiskClassification;
    private String tradeRiskRating;

    //货品名
    public void setTradeName(String tradeName) {
        this.tradeName = tradeName;
    }

    public String getTradeName() {
        return tradeName;
    }
    //货品名关键词
    public void setTradeNameKey(String tradeNameKey) {
        this.tradeNameKey = tradeNameKey;
    }

    public String getTradeNameKey() {
        return tradeNameKey;
    }
    //货品名所属清单（0-无；1-X光机难辨识清单；2-疑似风险货物清单；3-隐含性危险品清单）
    public void setTradeType(String tradeType) {
        this.tradeType = tradeType;
    }

    public String getTradeType() {
        return tradeType;
    }
    //货物风险等级（普通\低风险\高风险）
    public void setTradeRiskClassification(String tradeRiskClassification) {
        this.tradeRiskClassification = tradeRiskClassification;
    }

    public String getTradeRiskClassification() {
        return tradeRiskClassification;
    }
    //综合风险等级（低风险\优先\普通\高风险\严控）
    public void setTradeRiskRating(String tradeRiskRating) {
        this.tradeRiskRating = tradeRiskRating;
    }

    public String getTradeRiskRating() {
        return tradeRiskRating;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
        .append("tradeName", getTradeName())
                .append("tradeNameKey", getTradeNameKey())
                .append("tradeType", getTradeType())
                .append("tradeRiskClassification", getTradeRiskClassification())
                .append("tradeRiskRating", getTradeRiskRating()).toString();
    }

}